//
//  XMImageCollectionViewCell.m
//  Second
//
//  Created by Alex on 16/7/19.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "XMImageCollectionViewCell.h"

@implementation XMImageCollectionViewCell

- (void)awakeFromNib {
   
    self.index = 0;
    self.imageView.userInteractionEnabled = YES;
  
 
}

- (void)setcellWithmodel:(XMSecondModel *)model {

    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.images[self.index++]]];
    
}







@end
